﻿<!DOCTYPE html>
<html ng-app="ShoppingCartApp">
<head>
    <title></title>
</head>
<body>

    <!--<h3>Login</h3>
     Form to get username & Password
    <form ng-controller="LoginController">
        <label>Username:</label><input type="text" ng-model="username" /></br></br>
        <label>Password:</label><input type="password" ng-model="password"></br>
        <button type="submit" ng-click="submit()">login</button>
    </form>-->
    <script src="../../Scripts/angular.js"></script>
    <script src="../../Scripts/angular-route.js"></script>
    <script src="../../Scripts/jquery.min.js"></script>
    

    <!-- UI Libs -->
    <script src="../../Scripts/bootstrap.js"></script>    
    <script src="../app.js"></script>
    <script src="../controllers/controllers.js"></script>    
    <link href="../../Content/app.css" rel="stylesheet" />
    <div class="row">
        <form class="col-sm-6 col-sm-offset-3 col-md-4 col-md-offset-4" ng-controller="LoginController">
            <h2 class="text-center">Sign In</h2>
            <div class="form-box">
                <div class="form-group">
                    <input ng-model="userName" type="text" class="form-control" placeholder="Username or Email" required autofocus />
                </div>
                <div class="form-group">
                    <input ng-model="password" type="password" class="form-control" placeholder="Password" required />
                </div>
                <!--ng-disabled="!(userName && password)"-->
                <div class="form-group">
                    <button class="btn btn-primary btn-block" ng-disabled="!(userName && password) " ng-click="submitForm()">Sign In</button>
                </div>
            </div>
        </form>
    </div>
</body>
</html>
